Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 2 - Movie Toolbox / Movie Toolbox Reference
Functions for Getting and Playing Movies / Movie Functions


CloseMovieFile

The CloseMovieFile function closes an open movie file.

pascal OSErr CloseMovieFile (short resRefNum);
resRefNum
Specifies the movie file to close. Your application obtains this reference number from the OpenMovieFile function, which is described in the previous section.
DESCRIPTION
Your application should call this function when you are done working with a movie
file. You must call this function once each time you open a movie file. You can still use the movie. If you are not editing the movie, it is advisable to close it.

ERROR CODES
File Manager errors


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996